MeaningfulMessage

com.anywherecommerce.android.sdk

Class MeaningfulMessage

  • java.lang.Object

  • java.lang.Throwable
    com.anywherecommerce.android.sdk.MeaningfulMessage

  • All Implemented Interfaces:java.io.SerializableDirect Known Subclasses:MeaningfulError-

    public class <span class="typeNameLabel">MeaningfulMessage</span>
    extends java.lang.Throwable
    implements java.io.Serializable
    

    Created by Admin on 9/15/2017.

    See Also:Serialized Form

Field Summary

  Modifier and TypeField and Description`java.lang.String``<span class="memberNameLink">

context java.lang.String``

detail protected java.lang.String``

language java.lang.String``

message java.lang.Object``

src java.lang.String``

suggestedAction`

Constructor Summary

  Constructor and Description`<span class="memberNameLink">

MeaningfulMessage()

MeaningfulMessage(java.lang.Object src)` ```

MeaningfulMessage(java.lang.Object source,
java.lang.String message)

MeaningfulMessage(java.lang.Object source,
java.lang.String message,
java.lang.String detail)

MeaningfulMessage(java.lang.Object source,
java.lang.String message,
java.lang.String detail,
java.lang.String language)
```

Method Summary

  Modifier and TypeMethod and Description`boolean``<span class="memberNameLink">

equals(java.lang.Object src) protected java.lang.String``

getHashCode() protected void````

init(java.lang.Object source,
java.lang.String message,
java.lang.String detail,
java.lang.String language)
` `void

setLanguage(java.lang.String langCode) java.lang.String``

toString()`

Methods inherited from class java.lang.Throwable

        `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`
  
  
  

Methods inherited from class java.lang.Object

        `clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

src

        `public java.lang.Object src`

message

        `public java.lang.String message`

detail

        `public java.lang.String detail`

suggestedAction

        `public java.lang.String suggestedAction`

context

        `public java.lang.String context`

language

        `protected java.lang.String language`

Constructor Detail

MeaningfulMessage

        ```
        public MeaningfulMessage(java.lang.Object source,
                                 java.lang.String message,
                                 java.lang.String detail,
                                 java.lang.String language)
        ```

MeaningfulMessage

        ```
        public MeaningfulMessage(java.lang.Object source,
                                 java.lang.String message,
                                 java.lang.String detail)
        ```

MeaningfulMessage

        ```
        public MeaningfulMessage(java.lang.Object source,
                                 java.lang.String message)
        ```

MeaningfulMessage

        `public MeaningfulMessage(java.lang.Object src)`

MeaningfulMessage

        `public MeaningfulMessage()`

Method Detail

init

        ```
        protected void init(java.lang.Object source,
                            java.lang.String message,
                            java.lang.String detail,
                            java.lang.String language)
        ```

toString

        `public java.lang.String toString()`Overrides:`toString` in class `java.lang.Throwable`

setLanguage

        `public void setLanguage(java.lang.String langCode)`

equals

        `public boolean equals(java.lang.Object src)`Overrides:`equals` in class `java.lang.Object`

getHashCode

        `protected java.lang.String getHashCode()`