- Timestamp:
- 08/18/11 12:39:22 (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/common/implementation/com/ether/EtherException.java
r129 r130 5 5 * @date 02 feb 2011 6 6 */ 7 public class WebException7 public class EtherException 8 8 extends FormattedException 9 9 { 10 public WebException( final Enum<? extends Code> code )10 public EtherException( final Enum<? extends Code> code ) 11 11 { 12 12 super( code ); 13 13 } 14 14 15 public WebException( final Enum<? extends Code> code, final Throwable cause, final Object... parameters )15 public EtherException( final Enum<? extends Code> code, final Throwable cause, final Object... parameters ) 16 16 { 17 17 this( code, cause.getMessage(), cause, parameters ); 18 18 } 19 19 20 protected WebException( final Enum<? extends Code> code, final String message, final Throwable cause, final Object... parameters )20 protected EtherException( final Enum<? extends Code> code, final String message, final Throwable cause, final Object... parameters ) 21 21 { 22 22 super( prefix( code, message ), cause, parameters ); 23 23 } 24 24 25 public WebException( final Throwable cause )25 public EtherException( final Throwable cause ) 26 26 { 27 27 super( cause ); 28 28 } 29 29 30 public WebException( final Enum<? extends Code> code, final String string )30 public EtherException( final Enum<? extends Code> code, final String string ) 31 31 { 32 32 super( code, string ); 33 33 } 34 34 35 public static enum WebCode35 public static enum EtherCode 36 36 implements Code 37 37 { 38 UNKNOWN,39 PERSISTENCE,40 SERVICE_PROBLEM,41 PLATEFORME_ID_NOT_FOUND,42 38 IO_EXCEPTION_ERROR_TO_GET_OUTPUTSTREAM, 43 ERROR_UNSUPPORTED_UTF8_ENCODING,44 ERROR_NO_REQUEST_HANDLING_METHOD,45 ERROR_NUMBER_OF_PARAM_TYPES_NOT_EQUAL_TO_PARAM_ANNOTATIONS,46 FILE_NOT_FOUND;47 39 } 48 40 }
Note: See TracChangeset
for help on using the changeset viewer.