Class Overview
Indicates there was an attempt to send a mail message that exceeds the configured size limit.
 Regarding logging instances of this exception, see MailException.
 
Summary
| 
  [Expand]
   Inherited Methods  | 
   
From class
  com.atlassian.bitbucket.ServiceException
 | 
   
From class
  java.lang.Throwable
  
   
  
    
    
	 
    
        | 
            
            
            synchronized
            final
            
            
            void
         | 
        
        addSuppressed(Throwable arg0)
        
   |  
	 
    
        | 
            
            
            synchronized
            
            
            
            Throwable
         | 
        
        fillInStackTrace()
        
   |  
	 
    
        | 
            
            
            synchronized
            
            
            
            Throwable
         | 
        
        getCause()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            String
         | 
        
        getLocalizedMessage()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            String
         | 
        
        getMessage()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            StackTraceElement[]
         | 
        
        getStackTrace()
        
   |  
	 
    
        | 
            
            
            synchronized
            final
            
            
            Throwable[]
         | 
        
        getSuppressed()
        
   |  
	 
    
        | 
            
            
            synchronized
            
            
            
            Throwable
         | 
        
        initCause(Throwable arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        printStackTrace()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        printStackTrace(PrintWriter arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        printStackTrace(PrintStream arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        setStackTrace(StackTraceElement[] arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            String
         | 
        
        toString()
        
   |  
 
   
 
 | 
   
From class
  java.lang.Object
  
   
  
    
    
	 
    
        | 
            
            
            
            
            
            
            Object
         | 
        
        clone()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            boolean
         | 
        
        equals(Object arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        finalize()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            Class<?>
         | 
        
        getClass()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            int
         | 
        
        hashCode()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        notify()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        notifyAll()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            String
         | 
        
        toString()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        wait(long arg0, int arg1)
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        wait(long arg0)
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        wait()
        
   |  
 
   
 
 | 
 
Public Constructors
    
      
        
        public
        
        
        
        
        
      
      MailSizeExceededException
      (KeyedMessage message, int size, int maxSize)
    
      
    
      
    
      
  Constructs a new MailSizeExceededException.
 
  
      Parameters
      
        
          | message
           | the error message | 
        
        
          | size
           | the mail message's size | 
        
        
          | maxSize
           | the configured size limit | 
        
      
   
     
 
Public Methods
    
      
        
        public
        
        
        
        
        int
      
      getMaxSize
      ()
    
      
    
      
    
      
  
  
      Returns
      - the configured maximum size for a single mail message