org.jboss.errai.marshalling.client.marshallers
Class FallbackExceptionMarshaller
java.lang.Object
org.jboss.errai.marshalling.client.marshallers.AbstractNullableMarshaller<Object>
org.jboss.errai.marshalling.client.marshallers.FallbackExceptionMarshaller
- All Implemented Interfaces:
- Marshaller<Object>
public class FallbackExceptionMarshaller
- extends AbstractNullableMarshaller<Object>
this marshaller is intentionally not marked ServerMarshaller or ClientMarshaller because it is
used only to marshal exceptions not handled elsewhere
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final FallbackExceptionMarshaller INSTANCE
FallbackExceptionMarshaller
public FallbackExceptionMarshaller()
getEmptyArray
public Object[] getEmptyArray()
- Description copied from interface:
Marshaller
- Returns an empty array of the type handled by this marshaller. Useful in conjunction with
List.toArray(T[])
.
- Returns:
- a one-dimensional zero-length array of the type handled by this marshaller.
doNotNullDemarshall
public Object doNotNullDemarshall(EJValue o,
MarshallingSession ctx)
- Specified by:
doNotNullDemarshall
in class AbstractNullableMarshaller<Object>
doNotNullMarshall
public String doNotNullMarshall(Object o,
MarshallingSession ctx)
- Specified by:
doNotNullMarshall
in class AbstractNullableMarshaller<Object>
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.