|
SOAj Consolidated |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.soaj.core.attribute.SjAttributesForThrowable
public class SjAttributesForThrowable
This immutable attributes class provides exception throwing support. It contains values assigned programmaticaly.
The "Builder" pattern as documented by Joshua Bloch ("Effective Java" - Second Edition) is utilized to handle the variable number of required and optional parameters.
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .
| Nested Class Summary | |
|---|---|
static class |
SjAttributesForThrowable.BuilderThrowable
This static member immutable class is used to implement the builder pattern. |
| Field Summary | |
|---|---|
protected SjPopulatedClassName |
classname
The name of class throwing the exception. |
protected java.lang.String |
emailBCC
A comma delimited list of blind carbon copy recipients. |
protected java.lang.String |
emailCC
A comma delimited list of carbon copy email recipients. |
protected java.lang.String |
emailContentType
The content type. |
protected java.lang.String |
emailFromAddress
The sender's email address. |
protected java.lang.String |
emailMessage
The email message. |
protected java.lang.String |
emailRecipients
A comma delimited list of email recipients. |
protected java.lang.String |
emailSmtpHost
The SMTP host name. |
protected java.lang.String |
emailSmtpPassword
The SMTP host password. |
protected java.lang.String |
emailSmtpPort
The SMTP host port. |
protected java.lang.String |
emailSmtpUserName
The SMTP host user name. |
protected java.lang.String |
emailSocksProxyAddress
The socks address. |
protected java.lang.String |
emailSocksProxyPort
The socks proxy port. |
protected java.lang.String |
emailSubject
The subject. |
protected boolean |
forceEmailingOnly
Forces emailing to occur even if the exception was previously logged; default is false. |
protected boolean |
forceLiteLoggingOnly
Forces "lite logging" (very limited stack trace) even if the exception was previously logged; default is false. |
protected boolean |
forceLoggingOnly
Forces logging to occur even if the exception was previously logged; default is false. |
protected SjPopulatedMethodName |
methodname
The name of method throwing the exception. |
private static long |
serialVersionUID
UID |
protected boolean |
suppressEmailingOnly
Suppresses emailing; default is false. |
protected boolean |
suppressLoggingOnly
Suppresses logging; default is false. |
| Constructor Summary | |
|---|---|
private |
SjAttributesForThrowable(SjAttributesForThrowable.BuilderThrowable builderThrowable)
Constructor - private |
| Method Summary | |
|---|---|
boolean |
containsAuthentication()
This method determines whether the attribute is null. |
boolean |
containsEmailBCC()
This method determines whether the attribute is null. |
boolean |
containsEmailCC()
This method determines whether the attribute is null. |
boolean |
containsEmailContentType()
This method determines whether the attribute is null. |
boolean |
containsEmailFromAddress()
This method determines whether the attribute is null. |
boolean |
containsEmailMessage()
This method determines whether the attribute is null. |
boolean |
containsEmailRecipients()
This method determines whether the attribute is null. |
boolean |
containsEmailSmtpHost()
This method determines whether the attribute is null. |
boolean |
containsEmailSmtpPassword()
This method determines whether the attribute is null. |
boolean |
containsEmailSmtpPort()
This method determines whether the attribute is null. |
boolean |
containsEmailSmtpUserName()
This method determines whether the attribute is null. |
boolean |
containsEmailSocksProxyAddress()
This method determines whether the attribute is null. |
boolean |
containsEmailSocksProxyPort()
This method determines whether the attribute is null. |
boolean |
containsEmailSubject()
This method determines whether the attribute is null. |
java.lang.String |
getClassname()
This method returns an attribute. |
java.lang.String |
getEmailBCC()
This method returns an attribute. |
java.lang.String |
getEmailCC()
This method returns an attribute. |
java.lang.String |
getEmailContentType()
This method returns an attribute. |
java.lang.String |
getEmailFromAddress()
This method returns an attribute. |
java.lang.String |
getEmailMessage()
This method returns an attribute. |
java.lang.String |
getEmailRecipients()
This method returns an attribute. |
java.lang.String |
getEmailSmtpHost()
This method returns an attribute. |
java.lang.String |
getEmailSmtpPassword()
This method returns an attribute. |
java.lang.String |
getEmailSmtpPort()
This method returns an attribute. |
java.lang.String |
getEmailSmtpUserName()
This method returns an attribute. |
java.lang.String |
getEmailSocksProxyAddress()
This method returns an attribute. |
java.lang.String |
getEmailSocksProxyPort()
This method returns an attribute. |
java.lang.String |
getEmailSubject()
This method returns an attribute. |
java.lang.String |
getMethodname()
This method returns an attribute. |
boolean |
isEmailingAndLoggingSuppressed()
This method returns an attribute. |
boolean |
isEmailingOnlyForced()
This method returns an attribute. |
boolean |
isEmailingOrLoggingForced()
This method returns an attribute. |
boolean |
isEmailingOrLoggingSuppressed()
This method renders a verdict. |
boolean |
isEmailingSuppressed()
This method returns an attribute. |
boolean |
isLiteLoggingForced()
This method returns an attribute. |
boolean |
isLoggingOnlyForced()
This method returns an attribute. |
boolean |
isLoggingSuppressed()
This method returns an attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
protected final SjPopulatedClassName classname
protected final SjPopulatedMethodName methodname
protected final boolean suppressLoggingOnly
false.
protected final boolean suppressEmailingOnly
protected final boolean forceLiteLoggingOnly
false.
protected final boolean forceLoggingOnly
false.
protected final boolean forceEmailingOnly
false.
protected final java.lang.String emailMessage
protected final java.lang.String emailSubject
protected final java.lang.String emailRecipients
protected final java.lang.String emailCC
protected final java.lang.String emailBCC
protected final java.lang.String emailFromAddress
protected final java.lang.String emailContentType
protected final java.lang.String emailSmtpHost
protected final java.lang.String emailSmtpUserName
protected final java.lang.String emailSmtpPassword
protected final java.lang.String emailSmtpPort
protected final java.lang.String emailSocksProxyAddress
protected final java.lang.String emailSocksProxyPort
| Constructor Detail |
|---|
private SjAttributesForThrowable(SjAttributesForThrowable.BuilderThrowable builderThrowable)
builderThrowable - | Method Detail |
|---|
public java.lang.String getClassname()
classname attribute.public java.lang.String getMethodname()
methodname attribute.public boolean isEmailingSuppressed()
suppressEmailingOnly
attribute.public boolean isLoggingSuppressed()
suppressLoggingOnly attribute.public boolean isEmailingAndLoggingSuppressed()
public boolean isEmailingOrLoggingSuppressed()
public boolean isLiteLoggingForced()
forceLiteLoggingOnly
attribute.public boolean isLoggingOnlyForced()
forceEmailingAndLogging
attribute.public boolean isEmailingOnlyForced()
forceEmailingAndLogging
attribute.public boolean isEmailingOrLoggingForced()
public boolean containsAuthentication()
null.
public boolean containsEmailBCC()
null.
public java.lang.String getEmailBCC()
emailBCC attribute.public boolean containsEmailCC()
null.
public java.lang.String getEmailCC()
emailCC attribute.public boolean containsEmailRecipients()
null.
public java.lang.String getEmailRecipients()
emailRecipients attribute.public boolean containsEmailContentType()
null.
public java.lang.String getEmailContentType()
emailContentType attribute.public boolean containsEmailFromAddress()
null.
public java.lang.String getEmailFromAddress()
emailFromAddress attribute.public boolean containsEmailMessage()
null.
public java.lang.String getEmailMessage()
emailMessageAppended attribute.public boolean containsEmailSmtpPassword()
null.
public java.lang.String getEmailSmtpPassword()
emailSmtpPassword attribute.public boolean containsEmailSmtpHost()
null.
public java.lang.String getEmailSmtpHost()
emailSmtpHost attribute.public boolean containsEmailSmtpPort()
null.
public java.lang.String getEmailSmtpPort()
emailSmtpPort attribute.public boolean containsEmailSubject()
null.
public java.lang.String getEmailSubject()
emailSubject attribute.public boolean containsEmailSmtpUserName()
null.
public java.lang.String getEmailSmtpUserName()
emailSmtpUserName attribute.public boolean containsEmailSocksProxyAddress()
null.
public java.lang.String getEmailSocksProxyAddress()
emailSocksProxyAddress
attribute.public boolean containsEmailSocksProxyPort()
null.
public java.lang.String getEmailSocksProxyPort()
emailSocksProxyPort attribute.
|
SOAj Consolidated |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.